home *** CD-ROM | disk | FTP | other *** search
/ Language/OS - Multiplatform Resource Library / LANGUAGE OS.iso / cpp_libs / answrbok / 7_7.lha / 7_7 / 7_7append.c < prev    next >
Text File  |  1993-08-08  |  407b  |  14 lines

  1. * Copyright (c) 1990 by AT&T Bell Telephone Laboratories, Incorporated. */
  2. * The C++ Answer Book */
  3. * Tony Hansen */
  4. * All rights reserved. */
  5. / Append an entry at the end of the list.
  6. / This is the same as dlist_iterator::insert()
  7. / except that dlist_iterator::curr_dlist->last
  8. / is adjusted afterwards.
  9. oid dlist_iterator::append(ent a)
  10.  
  11.    this->insert(a);
  12.    curr_dlist->last = curr_dlist->last->next;
  13.  
  14.